package cn.gson.fengboot.model.service;

import cn.gson.fengboot.model.mapper.DbusproMapper;
import cn.gson.fengboot.model.pojos.DproVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class DbusproService {

    @Autowired
    DbusproMapper dbusproMapper;

    public List<DproVo> seproBybusId(Integer busId){
        return dbusproMapper.seproBybusId(busId);
    }

}
